package com.ruoyi.user.model.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import com.ruoyi.common.core.pojo.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;


@Getter
@Setter
@Accessors(chain = true)
@TableName("youban_balance_log")
@ApiModel(value = "BalanceLog对象", description = "资产记录")
public class BalanceLog extends BaseEntity<BalanceLog> {

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("0支出1收入")
    private Integer type;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("金额")
    private BigDecimal money;

    @ApiModelProperty("类型0余额1金币2星钻3魔钻")
    private Integer balanceLogType;

    @ApiModelProperty("唯一id(服务id 商品id等)")
    private Long uniqueId;
}
